var Components = {};
// 直接加载全部组件
const modules = import.meta.glob('./*.vue', { eager: true });
for (const key in modules) {
    const element = modules[key];
    Components[key.replace('./', '').replace('.vue', '')] = element.default;
}
export default {
    install(app) {
        for (const key in Components) {
            const element = Components[key];
            app.component(key, element)
        }
    }
}
